package com.ruoyi.teach.service;

import java.util.List;
import com.ruoyi.teach.domain.NbCourseComment;

/**
 * 课程评论Service接口
 * 
 * @author ruoyi
 * @date 2021-12-08
 */
public interface INbCourseCommentService 
{
    /**
     * 查询课程评论
     * 
     * @param id 课程评论主键
     * @return 课程评论
     */
    public NbCourseComment selectNbCourseCommentById(Long id);

    /**
     * 查询课程评论列表
     * 
     * @param nbCourseComment 课程评论
     * @return 课程评论集合
     */
    public List<NbCourseComment> selectNbCourseCommentList(NbCourseComment nbCourseComment);

    /**
     * 新增课程评论
     * 
     * @param nbCourseComment 课程评论
     * @return 结果
     */
    public int insertNbCourseComment(NbCourseComment nbCourseComment);

    /**
     * 修改课程评论
     * 
     * @param nbCourseComment 课程评论
     * @return 结果
     */
    public int updateNbCourseComment(NbCourseComment nbCourseComment);

    /**
     * 批量删除课程评论
     * 
     * @param ids 需要删除的课程评论主键集合
     * @return 结果
     */
    public int deleteNbCourseCommentByIds(Long[] ids);

    /**
     * 删除课程评论信息
     * 
     * @param id 课程评论主键
     * @return 结果
     */
    public int deleteNbCourseCommentById(Long id);
}
